import { NgModule } from "@angular/core";

import { SharedModule } from "@shared";
// single pages
import { CallbackComponent } from "./callback/callback.component";
// dashboard pages
import { DashboardComponent } from "./dashboard/dashboard.component";
import { UserLockComponent } from "./passport/lock/lock.component";
// passport pages
import { UserLoginComponent } from "./passport/login/login.component";
import { UserRegisterResultComponent } from "./passport/register-result/register-result.component";
import { UserRegisterComponent } from "./passport/register/register.component";
import { RouteRoutingModule } from "./routes-routing.module";
import { TweetsComponent } from "./tweets/tweets/tweets.component";
import { DelonChartModule } from "@delon/chart";

const COMPONENTS = [
  DashboardComponent,
  // passport pages
  UserLoginComponent,
  UserRegisterComponent,
  UserRegisterResultComponent,
  // single pages
  CallbackComponent,
  UserLockComponent
];
const COMPONENTS_NOROUNT = [];

@NgModule({
  imports: [SharedModule, RouteRoutingModule, DelonChartModule],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT,
    TweetsComponent,
  ]
})
export class RoutesModule {
}
